async function mescrollCallback(callback,parm){
	
	if(callback&&typeof callback=="function")
	{
		await callback();
	}
	
	if(parm.callback&&typeof parm.callback=="function")
	{
		parm.callback();
	}
}

export const mescrollCallback=mescrollCallback;